home *** CD-ROM | disk | FTP | other *** search
- Path: surfnet.nl!sun4nl!xs4all!falstaff
- From: falstaff@xs4all.nl (Falstaff)
- Newsgroups: comp.lang.c
- Subject: Re: Parsing an input stream?
- Date: 26 Feb 1996 15:42:12 GMT
- Organization: XS4ALL, networking for the masses
- Message-ID: <4gskck$d0m@news.xs4all.nl>
- References: <4gsep9$ho8@srvr1.engin.umich.edu>
- NNTP-Posting-Host: xs1.xs4all.nl
- X-Newsreader: NN version 6.5.0 #666 (NOV)
-
- newberry@news-server.engin.umich.edu (byron lee newberry) writes:
-
- >Hello,
-
- >I am currently working on coding a symbolic manipulation program to perform
- >tasks such as mutliplying out large polynomials, etc. I have a pretty
- >good idea how to program the beast except for the parsing of the input
- >stream. I have built up a very simple parser using basic string manipulation
- >functions, but it is very crued. Are libraries around that make this
- >a simplier job? It would seem to me that parsing would be a common task.
-
- So common, in fact, that specialized tools exist to make parsers.
- Yacc and lex are generally available on any UNIX system, and can
- be used to create efficient parsers (and many compilers use a
- yacc/lex generated front end).
- You could try comp.compilers, but that tends to be rather technical
- (now discussing van Wijngaarden grammars, for example).
-
- Frank
- --
- The famous GIICM now on line: http://www.xs4all.nl/~falstaff/GIICM.html
- ------------------------------------------------------------------------
- Frank A. Vorstenbosch +31-(70)-355 5241 falstaff@xs4all.nl
-